﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Microsoft.Win32;

namespace WpfTestApplication
{
    /// <summary>
    /// Interaction logic for WindowTestWindow.xaml
    /// </summary>
    public partial class WindowTestWindow : Window
    {
        public WindowTestWindow()
        {
            InitializeComponent();
        }

        private void btnShowMessageBox_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Hello tester! You are cool!", "Some Information", MessageBoxButton.OK,
                            MessageBoxImage.Information);
        }

        private void btnShowMessageBoxOkCancel_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show(this, "Hello tester! You are cool!", "Some Information", MessageBoxButton.OKCancel,
                            MessageBoxImage.Error);
        }
    }
}
